﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zhy.DAL.Models
{
    public class StudentInfo
    {
        [Key] // 设置住建特性
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)] // 设置住建自增特性
        public int StuId { get; set; }
        public string StuName { get; set; }
        public int ClassId { get; set; }
        /// <summary>
        /// 年级ID
        /// </summary>
        public int GradeId { get; set; }
        public string Sex { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 兴趣爱好
        /// </summary>
        public string Interestings { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 删除标识 0 未删除 1 已删除
        /// </summary>
        public int IsDeleted { get; set; }
    }
}
